Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U/yoachim/fo plot fix #417

Merged
merged 5 commits into from
Sep 12, 2024
Merged

U/yoachim/fo plot fix #417

merged 5 commits into from
Sep 12, 2024

Conversation

yoachim
Copy link
Member

@yoachim yoachim commented Aug 6, 2024

Fix so FO plot is generated again. Add a switch so ddf_batch can be run using older coordinates.

Copy link
Member

@rhiannonlynne rhiannonlynne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will tag rubin_scheduler so the necessary ddf_locations_pre3_5 is available.

@@ -486,7 +486,7 @@ def ddfBatch(
for f in filterlist:
fieldsqls[f] = sqls[f]
else:
fieldsql = f"note like '%{fieldname}%'"
fieldsql = f"scheduler_note like '%{fieldname}%'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one we could use "target_name", but scheduler_note works too.

@@ -144,7 +144,7 @@ def glanceBatch(
bundle_list.append(bundle)

# alt az of long gaps
sql = "note = 'long'"
sql = "scheduler_note = 'long'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh, I see your point about scheduler_note vs note being embedded in many places.
And true, a whole separate colmap just for this one change is likely overkill.

@yoachim yoachim merged commit 355c171 into main Sep 12, 2024
2 of 9 checks passed
@rhiannonlynne rhiannonlynne deleted the u/yoachim/fo_plot_fix branch September 12, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants